package com.linghang.wusthelper.entity.secondary;



/**
 * @uthor Fegert
 * @Date 2020/3/2 11:26
 */

public class ActivityMember extends ActivityMemberKey {
    //活动工时
    private Double volunteerTime;
    //构造方法

    public ActivityMember(Integer activityId, String stuNum, Double volunteerTime) {
        super(activityId, stuNum);
        this.volunteerTime = volunteerTime;
    }
    public ActivityMember(){}
    //setter 和 getter

    public Double getVolunteerTime() {
        return volunteerTime;
    }

    public void setVolunteerTime(Double volunteerTime) {
        this.volunteerTime = volunteerTime;
    }

    //toString方法
    @Override
    public String toString() {
        return "ActivityMember{" +
                "volunteerTime=" + volunteerTime +
                ", activityId=" + super.getActivityId() +
                ", stuNum='" + super.getStuNum() + '\'' +
                '}';
    }
}
